Re: [HACKERS] pg_dump core dump, upgrading from 6.5b1 to 5/24 snapshot - Mailing list pgsql-hackers

From Ari Halberstadt
Subject Re: [HACKERS] pg_dump core dump, upgrading from 6.5b1 to 5/24 snapshot
Date
Msg-id v04003a03b371e9ff05ad@[207.244.108.97]
Whole thread Raw
Responses Re: [HACKERS] pg_dump core dump, upgrading from 6.5b1 to 5/24 snapshot  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> noted that MAXQUERYLEN's value in pg_dump is
5000. Some of my fields are the maximum length for a text field.

Using the 5/26 snapshot, I increased MAXQUERYLEN to 16384 and it completed
without crashing. I also tried it at 8192 but it still crashed at that size.

The dumped data file is 15MB (no -d or -D option) or 22MB (with -D). The
core file is 13.8MB, which sounds like a memory leak in pg_dump.

-- Ari Halberstadt mailto:ari@shore.net <http://www.magiccookie.com/>
PGP public key available at <http://www.magiccookie.com/pgpkey.txt>




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] report for Win32 port
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] report for Win32 port